package com.aaa.cars.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 统一地区库(省市县区)(BaseArea)实体类
 *
 * @author makejava
 * @since 2020-12-04 19:25:47
 */
public class BaseArea implements Serializable {
    private static final long serialVersionUID = 938658507556370872L;
    /**
     * 地址ID
     */
    private Long baseAreaid;
    /**
     * 地区名字
     */
    private String name;
    /**
     * 上级路径ID
     */
    private Long parentid;
    /**
     * 顺序
     */
    private Object vieworder;

    private String value;
    private String label;
    private String parentName;
    private List<BaseArea> children;

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<BaseArea> getChildren() {
        return children;
    }

    public void setChildren(List<BaseArea> children) {
        this.children = children;
    }


    public Long getBaseAreaid() {
        return baseAreaid;
    }

    public void setBaseAreaid(Long baseAreaid) {
        this.baseAreaid = baseAreaid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentid() {
        return parentid;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public Object getVieworder() {
        return vieworder;
    }

    public void setVieworder(Object vieworder) {
        this.vieworder = vieworder;
    }

}